home *** CD-ROM | disk | FTP | other *** search
- on startMovie
- global gg, gh
- set the visible of sprite 26 to 0
- set the visible of sprite 10 to 0
- set the visible of sprite 11 to 0
- set the visible of sprite 12 to 1
- put "1440" into field "speed"
- set the visible of sprite 13 to 0
- set the visible of sprite 14 to 0
- set the visible of sprite 2 to 1
- put "1" into field "bts"
- set the visible of sprite 3 to 0
- set the visible of sprite 4 to 0
- set the visible of sprite 20 to 0
- put field "filesizereset" into field "a"
- put field "timereset" into field "time"
- updateStage()
- end
-
- on hcalculate
- global gg, gh
- puppetSprite(26, 1)
- set the visible of sprite 26 to 0
- puppetSprite(26, 0)
- updateStage()
- set gg to field "size"
- set gg to gg * field "bts"
- set gg to gg / field "speed"
- set gg to gg / 60
- put gg into field "ghh"
- set gh to the number of chars in field "ghh" - 2
- put char 1 to gh of field "ghh" into field "time"
- end
-